﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PersoanlDocumentUserControl.ascx.cs"
    Inherits="JM.JCY.SharePointComponent.PersonalHome.PersoanlDocument.PersoanlDocumentUserControl" %>
<script type="text/javascript">

    $(document).ready(function () {
        $("#tdPersonalDocToggle1").click(function () {
            var div = document.getElementById("divTogglePersonalDoc");
            if (div.style.display == "") {
                div.style.display = "none";
                $("#imgTogglePersonalDoc").attr("src", "/_layouts/JM.JCY.Resource/images/toggle_expand.png");

            }
            else {
                div.style.display = "";
                $("#imgTogglePersonalDoc").attr("src", "/_layouts/JM.JCY.Resource/images/toggle_collapse.png");
            }
        });

        $("#tdPersonalDocToggle2").click(function () {
            var div = document.getElementById("divTogglePersonalDoc");
            if (div.style.display == "") {
                div.style.display = "none";
                $("#imgTogglePersonalDoc").attr("src", "/_layouts/JM.JCY.Resource/images/toggle_expand.png");

            }
            else {
                div.style.display = "";
                $("#imgTogglePersonalDoc").attr("src", "/_layouts/JM.JCY.Resource/images/toggle_collapse.png");
            }
        });
    });
   

</script>
<div>
    <table class="main" width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td>
                <table class="webpart" width="450" cellpadding="0" cellspacing="0">
                    <tr>
                             <th align="left" id="tdPersonalDocToggle1" class="title" width="50%" style="cursor: pointer">
                            <img src="/_layouts/JM.JCY.Resource/images/文档小.png" width="24" />
                            我的个人文档
                        </th>
                          <th id="tdPersonalDocToggle2"class="link" align="right" width="50%" style="cursor: pointer">
                          
                            <img class="toggle" id="imgTogglePersonalDoc" src="/_layouts/JM.JCY.Resource/images/toggle_collapse.png" />
                        </th>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div id="divTogglePersonalDoc">
                                <table width="100%">
                                    <tr>
                                        <td>
                                            <div id="divPersonal" runat="server">
                                            </div>
                                        </td>
                                    </tr>
                                    <tr><td><br /><hr /></td></tr>
                                     <tr>
        <td width="40%">
            <span style="height: 10px; width: 10px; position: relative; display: inline-block;
                overflow: hidden;" class="s4-clust">
                <img src="/_layouts/images/fgimg.png" alt="" style="left: -0px !important; top: -128px !important;
                    position: absolute;" />
            </span><a class="ms-addnew" id="idHomePageNewItem" href="#" target="_self" runat="server">
                上传资料</a>
        </td>
    </tr>
                                </table>
                                
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
